

import request from "@/service/axios/index";


// export const deleteProperty = 
const propertyApi = {
    // 新增行业类目属性
    createProperty: (data) => {
        return request.post({ url: '/product/property/create', data })
    },
    // 获取行业类目属性详情
    getProperty: (id) => {
        return request.get({ url: '/product/property/get?id=' + id })
    },
    //查询列表
    getPropertyList: (data) => {
        return request.post({ url: '/product/property/list', data })
    },
    // 删除行业类目属性
    deleteProperty: (id) => {
        return request.delete({ url: '/product/property/delete?id=' + id })
    }

}

export default propertyApi